<?php
class Core_Model_Image extends YouNet_Db_Table_Row
{
    /**
     *
     * @return string image status
     */
    public function getStatus()
    {
        $status = '';
        switch ($this->status)
        {
            case Core_Model_DbTable_Images::STATUS_SHOWN:
                $status = 'STATUS_SHOWN';
                break;
            case Core_Model_DbTable_Images::STATUS_HIDDEN:
                $status = 'STATUS_HIDDEN';
                break;
            case Core_Model_DbTable_Images::STATUS_DELETED:
                $status = 'STATUS_DELETED';
                break;
            default:
                $status = 'STATUS_UNKNOWN';
                break;                 
        }
        
        return $status;
    }
}
?>
